package com.hong;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * springboot启动类
 */
@SpringBootApplication
@ComponentScan(basePackages = "com.hong")
@EnableScheduling
public class Application {
	 public static void main(String[] args) throws Exception {
	        SpringApplication.run(Application.class);
	 }
}
